Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use totalCost in place of suggestedFeeMutez #287

Closed
wants to merge 1 commit into from
Closed

Conversation

leoparis89
Copy link
Contributor

@leoparis89 leoparis89 commented Jul 21, 2023

Proposed changes

Task link

Use totalCost in place of suggestedFeeMutez

Types of changes

Put an x in the boxes that apply

  • Bugfix
  • New feature
  • Refactor
  • Breaking change
  • Documentation Update

Steps to reproduce

  • step one
  • step two
  • step three

Screenshots

Add the screenshots of how the app used to look like and how it looks now

Before Now
Image1 Image2
Image3 Image4

Checklist

  • Tests that prove my fix is effective or that my feature works have been added
  • Documentation has been added (if appropriate)
  • Screenshots are added (if any UI changes have been made)
  • All TODOs have a corresponding task created (and the link is attached to it)

Further comments

If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc.

@leoparis89
Copy link
Contributor Author

leoparis89 commented Jul 21, 2023

@serjonya-trili when I run simulations totalFee is inferior to suggestedFee I don't know if that's normal?

Capture d’écran 2023-07-21 à 16 54 59

When the transaction is executed the fee is closer to suggestedFeeMutez

Capture d’écran 2023-07-21 à 16 58 20

Anyways I leave this up to you to merge or not I don't have all the context 👍

@serjonya-trili
Copy link
Contributor

That's a good point @leoparis89 . Looks like when you involve some storage then totalCost becomes closer to the reality, but for bare tez transfers the suggestedFee is more accurate. I think we could try to pick the one that's bigger for now and raise this thing to taquito maintainers
Screenshot 2023-07-22 at 10 33 23
Screenshot 2023-07-22 at 10 33 34
Screenshot 2023-07-22 at 10 33 46

@serjonya-trili serjonya-trili deleted the use-total-cost branch July 31, 2023 08:27
@serjonya-trili
Copy link
Contributor

closing it as it was addressed in #304

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants